From 7552b7fca80a930a35bc6a0fe34aaaf7c5bd440e Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Thu, 14 Apr 2016 15:30:59 -0400 Subject: [PATCH] GtkBuilder: Mention how GVariant properties are parsed --- gtk/gtkbuilder.c | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/gtk/gtkbuilder.c b/gtk/gtkbuilder.c index 50375d3081..0e4eacae05 100644 --- a/gtk/gtkbuilder.c +++ b/gtk/gtkbuilder.c @@ -120,17 +120,18 @@ * as %FALSE), enumerations (can be specified by their name, nick or * integer value), flags (can be specified by their name, nick, integer * value, optionally combined with “|”, e.g. “GTK_VISIBLE|GTK_REALIZED”) - * and colors (in a format understood by gdk_rgba_parse()). Pixbufs can - * be specified as a filename of an image file to load. Objects can be - * referred to by their name and by default refer to objects declared - * in the local xml fragment and objects exposed via - * gtk_builder_expose_object(). - * - * In general, GtkBuilder allows forward references to objects — - * declared in the local xml; an object doesn’t have to be constructed - * before it can be referred to. The exception to this rule is that an - * object has to be constructed before it can be used as the value of - * a construct-only property. + * and colors (in a format understood by gdk_rgba_parse()). + * + * GVariants can be specified in the format understood by g_variant_parse(), + * and pixbufs can be specified as a filename of an image file to load. + * + * Objects can be referred to by their name and by default refer to + * objects declared in the local xml fragment and objects exposed via + * gtk_builder_expose_object(). In general, GtkBuilder allows forward + * references to objects — declared in the local xml; an object doesn’t + * have to be constructed before it can be referred to. The exception + * to this rule is that an object has to be constructed before it can + * be used as the value of a construct-only property. * * It is also possible to bind a property value to another object's * property value using the attributes -- 2.30.2